package com.woniu.cinema.domain;

import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 tb_dashboard
 * 
 * @author yy
 * @date 2021-04-16
 */
public class Dashboard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 影片名称 */
    @Excel(name = "影片名称")
    private String movieName;

    /** 上映天数 */
    @Excel(name = "上映天数")
    private Long onlineDays;

    /** 综合票房（单位：万） */
    @Excel(name = "综合票房", readConverterExp = "单=位：万")
    private Long boxOffice;

    /** 总计票房 */
    @Excel(name = "总计票房")
    private Long generalBoxOffice;

    /** 票房占比 */
    @Excel(name = "票房占比")
    private BigDecimal boxRatio;

    /** 排片场次总数 */
    @Excel(name = "排片场次总数")
    private Long playTimes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMovieName(String movieName) 
    {
        this.movieName = movieName;
    }

    public String getMovieName() 
    {
        return movieName;
    }
    public void setOnlineDays(Long onlineDays) 
    {
        this.onlineDays = onlineDays;
    }

    public Long getOnlineDays() 
    {
        return onlineDays;
    }
    public void setBoxOffice(Long boxOffice) 
    {
        this.boxOffice = boxOffice;
    }

    public Long getBoxOffice() 
    {
        return boxOffice;
    }
    public void setGeneralBoxOffice(Long generalBoxOffice) 
    {
        this.generalBoxOffice = generalBoxOffice;
    }

    public Long getGeneralBoxOffice() 
    {
        return generalBoxOffice;
    }
    public void setBoxRatio(BigDecimal boxRatio) 
    {
        this.boxRatio = boxRatio;
    }

    public BigDecimal getBoxRatio() 
    {
        return boxRatio;
    }
    public void setPlayTimes(Long playTimes) 
    {
        this.playTimes = playTimes;
    }

    public Long getPlayTimes() 
    {
        return playTimes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("movieName", getMovieName())
            .append("onlineDays", getOnlineDays())
            .append("boxOffice", getBoxOffice())
            .append("generalBoxOffice", getGeneralBoxOffice())
            .append("boxRatio", getBoxRatio())
            .append("playTimes", getPlayTimes())
            .toString();
    }
}
